package com.example.service;

import java.util.Map;

import com.example.ext.entity.maintenance.ExtTractionHalfMon;
import com.example.ext.entity.maintenance.ExtTractionDto;

/**
 * Created by douyx on 2017/10/29.
 */
public interface TractionService {

	/**
	 * 新增曳引电梯维保数据
	 * 
	 * @param traction
	 *            曳引电梯维保数据
	 * @return
	 */
	Map<String, Object> addTraction(ExtTractionDto traction);
	
	/**
	 * 获取曳引电梯维保数据
	 * 
	 * @param traction
	 * @return
	 */
	Map<String, Object> queryTraction(ExtTractionHalfMon traction);

	/**
	 * 获取曳引电梯维保详细数据
	 * 
	 * @param id
	 * @return
	 */
	Map<String, Object> queryTractionDetails(Long id);
}
